package com.hxb.example.entity;

import com.mybatisflex.annotation.Column;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class BaseEntity {
    /**
     * 创建者
     */
    @Column(ignore = true)
    private Long creator;

    /**
     * 创建时间
     */
    @Column(ignore = true)
    private LocalDateTime createDate;

    /**
     * 更新者
     */
    @Column(ignore = true)
    private Long updater;

    /**
     * 更新时间
     */
    @Column(ignore = true)
    private LocalDateTime updateDate;
}
